/**
 * 用户信息dao层
 */
package com.bys.ots.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.bys.ots.model.Email;
import com.bys.ots.model.User;

/**
 * @author bairuihua
 * 2019/11/25
 */

@Mapper
public interface UserMapper
{

    int insert(User record);

    int insertUser(User userinfo);

    User findByEmail(@Param("email") String email);

    User findByOpenId(@Param("openId") String openId);

	User findByUserId(@Param("userId")  String userId);

	int updateByPrimaryKeySelective(User rawData);

}
